ol,
ul {
  box-sizing: border-box;
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html {
  font-size: 62.5%;
}
body {
  line-height: 1.5;
}

.site-sharing-container.opened {
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.5);
  transition-delay: 0s;
  .site-sharing-content {
    will-change: auto;
    visibility: visible;
    -webkit-transform: translate(-50%, -3rem);
    transform: translate(-50%, -3rem);
  }
}
.site-sharing-container {
  visibility: hidden;
  position: fixed;
  left: 0;
  bottom: 0;
  font-size: 1.4rem;
  width: 100%;
  min-width: 32rem;
  height: 100%;
  background-color: transparent;
  transition: background-color 0.4s, visibility 0.4s;
  transition-delay: 0s, 0s;
  transition-delay: 0.2s;
  z-index: 993;

  .site-sharing-content {
    visibility: hidden;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: calc(100% - 4rem);
    max-width: 45rem;
    height: auto;
    color: #333;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 0px;
    padding: 2rem 2rem 0;
    background-color: #fff;
    transition: visibility 0.4s,
      -webkit-transform 0.4s cubic-bezier(0.85, 0, 0.15, 1);
    transition: transform 0.4s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.4s;
    transition: transform 0.4s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.4s,
      -webkit-transform 0.4s cubic-bezier(0.85, 0, 0.15, 1);
    -webkit-transform: translate(-50%, 100%);
    transform: translate(-50%, 100%);
    border-radius: 2rem;
    overflow: hidden;
    > .title {
      display: block;
      font-size: 1.4rem;
      font-weight: bold;
      margin-bottom: 2rem;
    }
    ul {
      display: flex;
      flex-wrap: wrap;
      list-style: none;
      width: 100%;
      margin: 0;
      padding: 0;
      li {
        width: 25%;
        margin: 0 0 2.5rem;
        padding: 0 0.5rem;
        .icon {
          display: block;
          position: relative;
          width: 5.5rem;
          height: 5.5rem;
          margin: 0 auto 0.5rem auto;
          cursor: pointer;
          img {
            position: absolute;
            width: 60%;
            height: 60%;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
          }
        }
        .icon::before {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-color: currentColor;
          border-radius: 1.5rem;
          transition: 0.2s;
          opacity: 0.05;
        }
        .icon:hover::before {
          opacity: 0.1;
        }
        .title {
          display: block;
          font-size: 1.2rem;
          text-overflow: ellipsis;
          white-space: nowrap;
          overflow: hidden;
          opacity: 0.5;
        }
      }
    }
  }
}

//漂浮按钮
.elevator_item {
  position: fixed;
  right: 12px;
  top: 195px;
  z-index: 11;
}

@media screen and (max-width: 320px) {
  .site-sharing-container .site-sharing-content ul li .icon {
    width: 4rem;
    height: 4rem;
  }
}